
Type Technique Extends BaseObject
rem
bbdoc: Retrieves the Pass with the given index. 
endrem
	Method getPass:Pass(index:Int)
		Local p:Pass = New Pass
		p._ptr = o_technique_getPass(Self._ptr, index)
		p._typ = ET_NO_ENTITY
		
		Return p
	End Method
	
rem
bbdoc: Retrieves the Pass matching name. 
about: Returns 0 if name match is not found. 
endrem
	Method getPassByName:Pass(passName:String)
		Local p:Pass = New Pass
		p._ptr = o_technique_getPassByName(Self._ptr, passName.ToCString())
		p._typ = ET_NO_ENTITY
		
		Return p
	End Method
End Type